package com.mata.worktime.entity.work;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mata.worktime.entity.BaseEntity;

import java.util.Date;

/*
  用户---项目 关联表对象
  @author： wanll
*/
@TableName("t_user_pro")
public class Member extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 项目ID
     */
    private Long proId;

    /**
     * 加入项目时间
     */
    private Date joinTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getProId() {
        return proId;
    }

    public void setProId(Long proId) {
        this.proId = proId;
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }

    @Override
    public String toString() {
        return "Member{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", proId=" + proId +
                ", joinTime=" + joinTime +
                '}';
    }
}
